package com.example.lowbird.lowbird.java;


import com.example.lowbird.lowbird.app.Myapp;
import com.flyco.tablayout.listener.CustomTabEntity;

/**
 * Created by Administrator on 2016/10/11.
 */
public class ECustomTabEntity implements CustomTabEntity {
   private String  TabTitle;

    private int TabSelectedIcon;

   private int abUnselectedIcon;

    public ECustomTabEntity(String tabTitle, int tabSelectedIcon, int abUnselectedIcon) {
        TabTitle = tabTitle;
        TabSelectedIcon = tabSelectedIcon;
        this.abUnselectedIcon = abUnselectedIcon;
    }


    public ECustomTabEntity(int tt, int tabSelectedIcon, int abUnselectedIcon) {
        TabTitle = Myapp.mContext.getResources().getString(tt);
        TabSelectedIcon = tabSelectedIcon;
        this.abUnselectedIcon = abUnselectedIcon;
    }

    @Override
    public String getTabTitle() {
        return TabTitle;
    }

    @Override
    public int getTabSelectedIcon() {
        return TabSelectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return abUnselectedIcon;
    }
}
